package com.dmgis.qxfw.dataservice.pages.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 功能描述：
 *
 * @auther： zhangyonglong
 * @date：
 * @return：
 * @description
 */
public class Level2Permission {
    private int id;
    private String title;
    private List<Level3Permission> level3 = new ArrayList<>();

    public Level2Permission() {
    }

    public Level2Permission(int id, String title, List<Level3Permission> level3) {
        this.id = id;
        this.title = title;
        this.level3 = level3;
    }

    public Level2Permission(int level2Id, String level2Title) {
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return level3
     */
    public List<Level3Permission> getLevel3() {
        return level3;
    }

    /**
     * 设置
     * @param level3
     */
    public void setLevel3(List<Level3Permission> level3) {
        this.level3 = level3;
    }

    public String toString() {
        return "Level2Permission{id = " + id + ", title = " + title + ", level3 = " + level3 + "}";
    }
}
